package com.blazer.a;

public class ifdemo04 {
    public static void main(String[] args) {
        boolean num1=false;
        boolean num2=true;
       int i=1;

        //num2=num1相当于把num1的值赋值给了num2
        if(num1=num2){
       i++;
            System.out.println(i);
        }
        if(true){
            --i;
            System.out.println(i);
        }

        System.out.println(num1);
    }
}
